package this与super区别及联系;

public class Test {
    public static void main(String[] args) {
        //测试Apple类
        Apple a=new Apple();
        a.showPrice();
        System.out.println("------------------------");

        //测试RedApple类
        RedApple r=new RedApple();
        r.showPrice_2();

    }
}
